package routers

import (
	"gosup/controllers"
	"github.com/gin-gonic/gin"
)

func purchaseMainRouter(r *gin.RouterGroup) {
	r.GET("/purchaseMain", controllers.GetAllPurchaseMain)
	r.DELETE("/purchaseMain", controllers.DelPurchaseMain)
	r.PUT("/purchaseMain", controllers.UpdatePurchaseMain)
	r.POST("/purchaseMain", controllers.AddPurchaseMain)
}
